/**
 * getUserInfo 异步获取userInfo
 * @return {Promise<unknown>}
 */
export const getUserInfo = () => {
  const user = {
    name: 'jack',
    age: 19
  }
  return new Promise(resolve => {
    setTimeout(function() {
      resolve(user)
    }, 1000)
  })
}
